package entities;


import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

@Entity
@Table(name="HERE_Externos")
@PrimaryKeyJoinColumn(name = "idRemitoExterno")
public class RemitoExterno extends Remito {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@ManyToOne
	@JoinColumn(name = "idODV", referencedColumnName = "idODV")
	private ODV odv;

	public RemitoExterno(){
		
	}

	public ODV getOdv() {
		return odv;
	}

	public void setOdv(ODV odv) {
		this.odv = odv;
	}
	
	
	
	
}
